package org.hawk.gwt.ppc.parser.impl;

import java.util.List;

import org.hawk.gwt.ppc.parser.AnnotationDescriptor;
import org.hawk.gwt.ppc.parser.BlockDescriptor;
import org.hawk.gwt.ppc.parser.ConstructorDescriptor;
import org.hawk.gwt.ppc.parser.Descriptor;
import org.hawk.gwt.ppc.parser.VariableDescriptor;

/**
 * Implementation of {@link ConstructorDescriptor}.
 * 
 * @author alex.bereznevatiy@gmail.com
 *
 */
final class ConstructorDescriptorImpl extends AbstractParameterizedMemberDescriptor
		implements ConstructorDescriptor {
	
	private BlockDescriptor body;

	ConstructorDescriptorImpl(BlockDescriptor body, 
			List<String> modifiers,
			List<AnnotationDescriptor> annotations,
			List<VariableDescriptor> parameters,
			List<String> exceptions,
			List<Descriptor> descriptors,
			boolean varArgs) {
		super(modifiers, annotations, parameters, exceptions, descriptors, varArgs);
	}

	/*
	 * (non-Javadoc)
	 * @see org.hawk.gwt.ppc.parser.ConstructorDescriptor#getBody()
	 */
	public BlockDescriptor getBody() {
		return body;
	}
}
